<script>

import { mapActions, mapMutations, mapState } from 'vuex';
import request from '@/utils/request';
export default {
	onLaunch: function() {
		let _self = this;
		uni.getStorage({
			key: 'userinfo',
			success: function(data) {
				_self.$store.commit('user/LOGIN_INFO', data.data);
			}
		});
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() { 
		console.log('App Hide');
	}
};
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
    @import "/static/style/iconfont.css";  
	body,html{
		background: #F1F1F1;
		
	}
	.page-container {
		/* #ifdef APP-PLUS */
		padding-top: calc(96upx + var(--status-bar-height));
		/* #endif */
		/* #ifndef APP-PLUS */
		padding-top: calc(96upx);
		/* #endif */
	}
</style>